package com.funmi.lizip.entity.dto.photo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.funmi.lizip.common.base.PageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "PhotoQueryRequest对象", description = "查询红外相机参数")
public class PhotoQueryRequest extends PageRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("相机编号")
    private Integer pointNo;

    @ApiModelProperty("开始时间")
    private LocalDateTime startAt;

    @ApiModelProperty("动物名称")
    private String animalName;

    @ApiModelProperty("截止时间")
    private LocalDateTime endAt;

    @ApiModelProperty("是否有效")
    @TableField("is_valid")
    private Boolean valid;
}
